//
//  QSMainGradientTitle.swift
//  chat
//
//  Created by 1 on 2023/3/31.
//

import Foundation
import SwiftUI

struct QSMainGradientTitle: ViewModifier {
    
    func body(content:Content) -> some View{
        content
            .font(.system(size: 18).bold())
            .frame(maxWidth:.infinity)
            .foregroundColor(MBAColor.com_black.color)
            .background(LinearGradient(colors: [MBAColor.com_ygreen.color,MBAColor.com_gblue1.color], startPoint: .leading, endPoint: .trailing))
    }

}
